﻿<%@ Page Language="C#" MasterPageFile="~/Enterprise/Master/AdminMaster.Master" AutoEventWireup="true" CodeBehind="OrderUndistributeDetailCheck.aspx.cs" Inherits="HZ.DrugTrade.Web.Enterprise.OrderManage.OrderUndistributeDetailCheck" Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li><a href="StorageTotal.aspx">产品入库汇总</a></li>
            <li><a href="storageDetail.aspx">产品入库明细</a></li>
            <li><a href="OrderDistributeNosendCheck.aspx">未配送</a></li>
            <li><a href="OrderDistributeSendCheck.aspx">已配送</a></li>
            <li class="active"><a href="OrderUndistributeDetailCheck.aspx">拒绝配送</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">产品名称：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtGoodsName" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">规格型号：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtOutLookc" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">采购医疗机构：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtHospitalName" runat="server"></asp:TextBox>
                            </td>

                        </tr>
                        <tr>
                            <td align="right">拼音码：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtpinyincode" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                <asp:Label Text="项目：" ID="lblProjectid" runat="server" />
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="ddlProjectid" runat="server">
                                    <asp:ListItem Value="0002">2014年内蒙古自治区网上高值医用耗材阳光采购项目</asp:ListItem>
                                    <asp:ListItem Value="0001">2012年内蒙古自治区网上医用耗材采购项目</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <asp:Literal runat="server" ID="ltlAdvance" Text="&lt;tbody id='advance' style='display:none'&gt;"></asp:Literal>
                        <tr>
<%--                            <td align="right">拼音码：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtPinyinCode" runat="server"></asp:TextBox>
                            </td>--%>
                            <td align="right">材质：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtMaterial" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">订单时间：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtStartDate" runat="server" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
                                    Width="62px"></asp:TextBox>-<asp:TextBox ID="txtEndDate" runat="server" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
                                        Width="62px"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="100px">
                    <hz:HzButton ID="btnQuery" runat="server" Text="查询" CssClass="searchbtn" OnClick="btnQuery_Click" />
                    <hz:HzLinkButton ID="lbnSwitch" runat="server" CommandArgument="simple" Text="高级查询"
                        OnClick="lbnSwitch_Click"></hz:HzLinkButton>
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvwProduceCatalog" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        DataKeyNames="orderid,OrderDetailID" EmptyDataText="暂无符合条件的数据！" OnRowDataBound="gvwProduceCatalog_RowDataBound">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %>
                </ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <%--            <asp:BoundField DataField="price" HeaderText="采购价" DataFormatString="{0:N4}" />
                <asp:BoundField DataField="ProcurePrice" HeaderText="采购限价" DataFormatString="{0:N4}"></asp:BoundField>--%>
            <asp:TemplateField HeaderText="采购价">
                <ItemTemplate>
                    <asp:Label ID="lblPrice" runat="server" Text='<%#HZ.DrugTrade.Web.Function.FormPrice(Eval("ProjectID"), Eval("Price")) %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="采购限价">
                <ItemTemplate>
                    <asp:Label ID="lblProcurePrice" runat="server" Text='<%#HZ.DrugTrade.Web.Function.FormPrice(Eval("ProjectID"), Eval("ProcurePrice")) %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="PurchaseCount" HeaderText="采购量" ReadOnly="true" />
            <asp:BoundField DataField="GoodsName" HeaderText="产品名称" ReadOnly="true" />
            <asp:BoundField DataField="Outlookc" HeaderText="规格型号" ReadOnly="true" />
            <asp:BoundField DataField="Material" HeaderText="材质" NullDisplayText="无" />
            <asp:BoundField DataField="Unit" HeaderText="单位" ReadOnly="true">
                <HeaderStyle Width="30px" />
            </asp:BoundField>
            <asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业" ReadOnly="true" />
            <%--<asp:BoundField DataField="DisTributeCount" HeaderText="已配送总量" ReadOnly="true" Visible="false" />--%>
            <asp:BoundField DataField="OrderName" HeaderText="订单名称" ReadOnly="true" />
            <asp:BoundField DataField="HospitalName" HeaderText="采购医疗机构" ReadOnly="true" />
            <asp:BoundField Visible="true" DataField="PlanTime" HeaderText="建单时间" DataFormatString="{0:yyyy-MM-dd}"
                ReadOnly="true" />
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>提示:<span> 说明。</span></li>
        </ul>
    </div>
    <div class="listctrl">
        <hz:HzButton ID="btnExport" runat="server" CssClass="btn" Text="导出Excel" ToolTip="将数据导出为Excel文件"
            OnClick="btnExport_Click" />
    </div>
</asp:Content>
